package request

type TmallServicecenterServicemonitormessageSearchRequest struct {
	/*
	   开始时间long值     */
	Start *int64 `json:"start" required:"true" `
	/*
	   结束时间long值，与start相差15分钟     */
	End *int64 `json:"end" required:"true" `
}

func (s *TmallServicecenterServicemonitormessageSearchRequest) SetStart(v int64) *TmallServicecenterServicemonitormessageSearchRequest {
	s.Start = &v
	return s
}
func (s *TmallServicecenterServicemonitormessageSearchRequest) SetEnd(v int64) *TmallServicecenterServicemonitormessageSearchRequest {
	s.End = &v
	return s
}

func (req *TmallServicecenterServicemonitormessageSearchRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.Start != nil {
		paramMap["start"] = *req.Start
	}
	if req.End != nil {
		paramMap["end"] = *req.End
	}
	return paramMap
}

func (req *TmallServicecenterServicemonitormessageSearchRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
